﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Progress.aspx.cs" Inherits="FatFreeFitness._secured.members.Progress" masterpagefile="../../_layout/_master/MemberMaster.master" %>

<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Charting" tagprefix="telerik" %>

<asp:Content id="Content1" runat="Server" contentplaceholderid="MemberContent">
    <div>
    
        <asp:EntityDataSource ID="EntityDsWeight" runat="server" 
            AutoGenerateWhereClause="True" ConnectionString="name=FatFreeFitnessEntities" 
            DefaultContainerName="FatFreeFitnessEntities" EnableFlattening="False" 
            EntitySetName="WeighIns" Select="(cast(Day(it.[Date]) as System.String) + '/' + cast(Month(it.[Date]) as System.String)) as Date, it.[Weight]" Where="" 
            EntityTypeFilter="" OrderBy="it.[Date]">
            <WhereParameters>
            <mem:MemberIDParameter Name="MemberID" Type="Int32"/>
            </WhereParameters>
        </asp:EntityDataSource>
    
    </div>
    <telerik:RadChart ID="RadChart1" runat="server" DataSourceID="EntityDsWeight" 
        DefaultType="Line" Width="616px">
        <Series>
<telerik:ChartSeries Name="Series 1" Type="Line">
    <Appearance>
        <FillStyle MainColor="213, 247, 255">
        </FillStyle>
    </Appearance>
            </telerik:ChartSeries>
<telerik:ChartSeries Name="Series 2" Type="Line">
    <Appearance>
        <FillStyle MainColor="218, 254, 122">
        </FillStyle>
    </Appearance>
            </telerik:ChartSeries>
</Series>
        <ChartTitle>
            <TextBlock Text="Weight Progress">
            </TextBlock>
        </ChartTitle>
        <PlotArea>
                <XAxis DataLabelsColumn="Date">
                </XAxis>
            </PlotArea>

    </telerik:RadChart>
    </asp:Content>
